type gpu = {useHardwareInstance: bool};